package com.hustzp.com.xichuangzhu.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by chenxiaosong on 2016/5/29.
 */
@DatabaseTable(tableName = "authors")
public class Authors implements Serializable {
    @DatabaseField(columnName = "id")
    private String id;
    @DatabaseField(columnName = "name")
    private String name;
    @DatabaseField(columnName = "first_char")
    private String first_char;
    @DatabaseField(columnName = "intro")
    private String intro;
    @DatabaseField(columnName = "works_count")
    private String works_count;
    @DatabaseField(columnName = "dynasty")
    private String dynasty;
    @DatabaseField(columnName = "birth_year")
    private String birth_year;
    @DatabaseField(columnName = "death_year")
    private String death_year;
    @DatabaseField(columnName = "updated_at")
    private String updated_at;
    @DatabaseField(columnName = "baidu_wiki")
    private String baidu_wiki;
    @DatabaseField(columnName = "name_tr")
    private String name_tr;
    @DatabaseField(columnName = "intro_tr")
    private String intro_tr;
    @DatabaseField(columnName = "dynasty_tr")
    private String dynasty_tr;
    private Review quotes;
    public Authors() {
    }

    public Authors(String id, String name, String first_char, String intro, String works_count, String dynasty, String birth_year, String death_year, String updated_at, String baidu_wiki, String name_tr, String intro_tr, String dynasty_tr) {
        this.id = id;
        this.name = name;
        this.first_char = first_char;
        this.intro = intro;
        this.works_count = works_count;
        this.dynasty = dynasty;
        this.birth_year = birth_year;
        this.death_year = death_year;
        this.updated_at = updated_at;
        this.baidu_wiki = baidu_wiki;
        this.name_tr = name_tr;
        this.intro_tr = intro_tr;
        this.dynasty_tr = dynasty_tr;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirst_char() {
        return first_char;
    }

    public void setFirst_char(String first_char) {
        this.first_char = first_char;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getWorks_count() {
        return works_count;
    }

    public void setWorks_count(String works_count) {
        this.works_count = works_count;
    }

    public String getDynasty() {
        return dynasty;
    }

    public void setDynasty(String dynasty) {
        this.dynasty = dynasty;
    }

    public String getBirth_year() {
        return birth_year;
    }

    public void setBirth_year(String birth_year) {
        this.birth_year = birth_year;
    }

    public String getDeath_year() {
        return death_year;
    }

    public void setDeath_year(String death_year) {
        this.death_year = death_year;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getBaidu_wiki() {
        return baidu_wiki;
    }

    public void setBaidu_wiki(String baidu_wiki) {
        this.baidu_wiki = baidu_wiki;
    }

    public String getName_tr() {
        return name_tr;
    }

    public void setName_tr(String name_tr) {
        this.name_tr = name_tr;
    }

    public String getIntro_tr() {
        return intro_tr;
    }

    public void setIntro_tr(String intro_tr) {
        this.intro_tr = intro_tr;
    }

    public String getDynasty_tr() {
        return dynasty_tr;
    }

    public void setDynasty_tr(String dynasty_tr) {
        this.dynasty_tr = dynasty_tr;
    }

    public Review getQuotes() {
        return quotes;
    }

    public void setQuotes(Review quotes) {
        this.quotes = quotes;
    }

    @Override
    public String toString() {
        return "Authors{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", first_char='" + first_char + '\'' +
                ", intro='" + intro + '\'' +
                ", works_count='" + works_count + '\'' +
                ", dynasty='" + dynasty + '\'' +
                ", birth_year='" + birth_year + '\'' +
                ", death_year='" + death_year + '\'' +
                ", updated_at='" + updated_at + '\'' +
                ", baidu_wiki='" + baidu_wiki + '\'' +
                ", name_tr='" + name_tr + '\'' +
                ", intro_tr='" + intro_tr + '\'' +
                ", dynasty_tr='" + dynasty_tr + '\'' +
                '}';
    }
}
